package com.hpeng.sys.dao;

import java.util.List;

import com.hpeng.sys.model.Department;
import com.hpeng.sys.model.Staff;
import com.hpeng.sys.model.SysTemplate;
import com.hpeng.sys.model.SysUser;
import com.hpeng.util.Pagination;

public interface SysUserDao {
	public List<SysUser> getSysUsers();
	public SysUser getUser(String userCode);
	public List<SysUser> getUserByCode(String userName);
	public List<SysUser> getUserByName(String username);
	public List<SysUser> getUserByStaff(List<Staff> staffs);
	public List<SysUser> getUserByTpl(List<SysTemplate> Tpl);
	public List<SysUser> getUserByDep(List<Department> departments);
	public void saveUser(SysUser sysUser);
	public void deleteUser(List<String> deleteUsers);
	public void updateUser(SysUser sysUser);
	public Pagination<SysUser> getPagination(int pageNumber);
	

}